package com.koudai.reader.conponment;

import android.app.Dialog;
import android.content.Context;
import android.view.Window;
import android.widget.ProgressBar;
import android.widget.TextView;

import com.koudai.reader.android.R;

public class LoadbookDialog extends Dialog {

    public ProgressBar progress;
    public TextView tips;
    
    public boolean cancel;
    
    public LoadbookDialog(Context context) {
        super(context);
        requestWindowFeature(Window.FEATURE_NO_TITLE);           

        setContentView(R.layout.book_loadpage);
        
        progress = (ProgressBar)findViewById(R.id.progressbar);
        tips = (TextView) findViewById(R.id.tips);
        
    }

    @Override
    public void onBackPressed() {
        // TODO Auto-generated method stub
        super.onBackPressed();
        cancel = true;
    }
}
